﻿
<UserControl x:Class="BankTeller.BankTellerModule.CustomerInfoView"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:views="clr-namespace:BankTeller.BankTellerModule"
	xmlns:workspaces="clr-namespace:SCSFContrib.CompositeUI.WPF.Workspaces;assembly=SCSFContrib.CompositeUI.WPF">
	<UserControl.Resources>
		<ResourceDictionary>
			<ResourceDictionary.MergedDictionaries>
				<ResourceDictionary Source="..\..\BankTellerStyles.xaml"/>
			</ResourceDictionary.MergedDictionaries>
		</ResourceDictionary>
	</UserControl.Resources>
	<Grid>
			<Grid.RowDefinitions>
				<RowDefinition Height="Auto"/>
				<RowDefinition Height="*"/>
				<RowDefinition Height="5"/>
				<RowDefinition Height="Auto"/>
			</Grid.RowDefinitions>
			<Grid.ColumnDefinitions>
				<ColumnDefinition Width="*"/>
			</Grid.ColumnDefinitions>

			<workspaces:TabWorkspace x:Name="tabbedWorkspace1" Grid.Row="1" Style="{DynamicResource TabControl}">
				<TabItem Header="Summary">
					<TabItem.Content>
						<views:CustomerDetailView/>
					</TabItem.Content>
				</TabItem>
				<TabItem Header="Accounts">
					<TabItem.Content>
						<views:CustomerAccountView/>
					</TabItem.Content>
				</TabItem>
			</workspaces:TabWorkspace>
			<Button Grid.Row="3" Click="OnSave" HorizontalAlignment="Right" Style="{DynamicResource BlackButtonStyle}" BorderBrush="{DynamicResource DefaultedBorderBrush}" BorderThickness="0,1,0,1" Foreground="#FFFFFFFF" Padding="0,0,0,1">Save</Button>
		</Grid>
</UserControl>

